﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="MYSMRM.Model" namespace="MYSMRM.Model">

  <class name="QSOption" table="QS_OPTION">
    <cache usage="read-write"/>
    <id name="ID" type="int">
      <column name="I_ID" index="PK_QS_OPTION"/>
      <generator class="identity" />
    </id>

    <property name="QuestionID" type="int">
      <column name="I_QUESTION_ID" not-null="false"/>
    </property>

    <property name="Option" type="String">
      <column name="S_OPTION" not-null="false"/>
    </property>

    <property name="Deleted" type="bool">
      <column name="B_DELETED" not-null="false"/>
    </property>

    <property name="LastUpdater" type="String">
      <column name="S_LAST_UPDATER" not-null="false"/>
    </property>

    <property name="LastUpdateDate" type="DateTime">
      <column name="D_LAST_UPDATE_DATE" not-null="false"/>
    </property>
    <property name="NextQuestion" type="int">
      <column name="I_NEXTQUESTION" not-null="false"/>
    </property>
  </class>

</hibernate-mapping>